package com.dd.ent.car.common.player;

/**
 * Created by LT on 2016/3/21.
 */
public class FeedPlayerParameters {

    private static FeedPlayerParameters sThunderMediaPlayerParameters;

    private boolean notCheckMobileNetAgain;

    private boolean notShowNetChangeDialogAgain;

    private FeedPlayerParameters(){

    }

    public static FeedPlayerParameters instance() {
        if(sThunderMediaPlayerParameters == null) {
            sThunderMediaPlayerParameters = new FeedPlayerParameters();
        }
        return sThunderMediaPlayerParameters;
    }

    public void setNotCheckMobileNetAgain(boolean notCheckMobileNetAgain) {
        this.notCheckMobileNetAgain = notCheckMobileNetAgain;
    }

    /**
     * 
     * @return true表示不用再次检查网络
     */
    public boolean isNotCheckMobileNetAgain() {
        return notCheckMobileNetAgain;
    }


    public boolean isNotShowNetChangeDialogAgain() {
        return notShowNetChangeDialogAgain;
    }

    public void setNotShowNetChangeDialogAgain(boolean notShowNetChangeDialogAgain) {
        this.notShowNetChangeDialogAgain = notShowNetChangeDialogAgain;
    }
}
